home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BCI NET
/
BCI NET Dec 94.iso
/
archives
/
programming
/
blitzbasic
/
riblitzlibs.lha
/
riblitzlibs
/
pack
/
ILBMGrab.asc
next >
Wrap
Text File
|
2002-02-02
|
672b
|
38 lines
;Pack library (C)1994 Reflective Images
;Example program
;By Stephen McNamara
;Please feel free to use any part of the program
; in whatever way you feel like
;BEFORE compiling, CD into the directory that you loaded this file from
; some that the INCBIN can find the graphics file
VWait 10
;Get a bitmap
BitMap 0,320,200,5
;Go into Blitz mode
BLITZ
offset.w=0
If DispHeight=256 Then offset=28
Slice 0,44+offset,320,200,$fff8,5,8,32,320,320
;Show our bitmap
Show 0
;Unpack the IFF and grab the palette
ILBMGrab ?pic_dat,0,0
;Use the palette
Use Palette 0
;Wait for mousekey before ending
MouseWait
End
INCDIR ""
pic_dat: IncBin "RIPic.iff"
NPrint "Cudd"